const express = require('express')
const router = express.Router()

const staff_handler = require('../router_handler/staff')
// 添加新员工
router.post('/addstaff',staff_handler.addstaff)
// 查询所有员工
router.get('/showstaff',staff_handler.showstaff)
// 删除员工
router.post('/removestaff',staff_handler.removestaff)
// 修改员工(失败)
router.post('/updatestaff',staff_handler.updatestaff)
// 查询某员工
router.post('/searchstaff',staff_handler.searchstaff)
// 查询员工考勤
router.get('/attendance',staff_handler.attendance)

module.exports=router